//
//  TravelCell.swift
//  TravelNotes
//
//  Created by 千锋 on 16/8/18.
//  Copyright © 2016年 胡光健. All rights reserved.
//

import UIKit

class TravelCell: UITableViewCell {

    @IBOutlet weak var mainImageView: UIImageView!
    
    var travelModel: TravelNotesDetailModel! {
       
        didSet {
            mainImageView.sd_setImageWithURL(NSURL(string: travelModel.url!), placeholderImage: UIImage(named: ""))
        }
    }
}
